.class Lcom/waiqin365/compons/camera/ae;
.super Ljava/lang/Object;

# interfaces
.implements Landroid/widget/SeekBar$OnSeekBarChangeListener;


# instance fields
.field final synthetic a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/compons/camera/ae;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onProgressChanged(Landroid/widget/SeekBar;IZ)V
    .locals 6

    :try_start_0
    iget-object v0, p0, Lcom/waiqin365/compons/camera/ae;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/hardware/Camera;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ae;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/hardware/Camera;

    move-result-object v0

    invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ae;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/hardware/Camera;

    move-result-object v0

    invoke-virtual {v0}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v0

    invoke-virtual {v0}, Landroid/hardware/Camera$Parameters;->getMaxZoom()I

    move-result v0

    add-int/lit8 v1, p2, 0x1

    int-to-double v2, v1

    const-wide/high16 v4, 0x4059000000000000L    # 100.0

    div-double/2addr v2, v4

    int-to-double v0, v0

    mul-double/2addr v0, v2

    iget-object v2, p0, Lcom/waiqin365/compons/camera/ae;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v2}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/hardware/Camera;

    move-result-object v2

    invoke-virtual {v2}, Landroid/hardware/Camera;->getParameters()Landroid/hardware/Camera$Parameters;

    move-result-object v2

    double-to-int v0, v0

    invoke-virtual {v2, v0}, Landroid/hardware/Camera$Parameters;->setZoom(I)V

    iget-object v0, p0, Lcom/waiqin365/compons/camera/ae;->a:Lcom/waiqin365/compons/camera/ContinueCameraActivity;

    invoke-static {v0}, Lcom/waiqin365/compons/camera/ContinueCameraActivity;->a(Lcom/waiqin365/compons/camera/ContinueCameraActivity;)Landroid/hardware/Camera;

    move-result-object v0

    invoke-virtual {v0, v2}, Landroid/hardware/Camera;->setParameters(Landroid/hardware/Camera$Parameters;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    :cond_0
    :goto_0
    return-void

    :catch_0
    move-exception v0

    goto :goto_0
.end method

.method public onStartTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 0

    return-void
.end method

.method public onStopTrackingTouch(Landroid/widget/SeekBar;)V
    .locals 0

    return-void
.end method
